package cn.fancy.sdk.pay.entity;

import org.json.JSONException;
import org.json.JSONObject;

import cn.fancy.sdk.entity.JsonParseInterface;


public class ChargeStyleRespResult implements JsonParseInterface{
	 public static final String _helpInfo = "a";   
	 public static final String _chargeLists = "b";
	/**
	 * 充值帮助 html格式的文本
	 */
	private String helpInfo;
	
	/**
	 *  支付列表
	 */
	private String chargeLists;

	public String getHelpInfo() {
		return helpInfo;
	}

	public String getChargeLists() {
		return chargeLists;
	}

	@Override
	public JSONObject buildJson() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void parseJson(JSONObject json) {
		// TODO Auto-generated method stub
		if (json == null)
			return ;
		try {
			helpInfo = json.isNull(_helpInfo) ? null : json.getString(_helpInfo);
			chargeLists = json.isNull(_chargeLists) ? null : json.getString(_chargeLists);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	@Override
	public String getShortName() {
		// TODO Auto-generated method stub
		return "ChargeStyleResp";
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "ChargeStyleRespResult [helpInfo=" + helpInfo + ", chargeLists="
				+ chargeLists +"]";
	}
	
}
